<%@page import="com.kensure.shike.constant.BusiConstant"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"	pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<title>统计</title>
	<meta http-equiv="Content-Type" content="textml; charset=UTF-8">
	<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
	
	<link href="<%=BusiConstant.context%>/page1/webview/css/index.css" rel="stylesheet" type="text/css" media="all" />
	<script type="text/javascript" src="<%=BusiConstant.context%>/common/js/jquery.min.js"></script>
	<script type="text/javascript" src="<%=BusiConstant.context%>/common/js/jquery.cookie.js"></script>
	<script type="text/javascript" src="<%=BusiConstant.context%>/common/base.js?ver=<%=BusiConstant.version%>"></script>
	<script type="text/javascript" src="<%=BusiConstant.context%>/common/http.js?ver=<%=BusiConstant.version%>"></script>
	<script type="text/javascript" src="<%=BusiConstant.context%>/common/layer/layer.js"></script>
		
	<script type="text/javascript" src="https://res.wx.qq.com/open/js/jweixin-1.3.0.js"></script>
	
	<link rel="stylesheet" type="text/css" href="<%=BusiConstant.context%>/common/layui/css/layui.css">
</head>
<style>
 img{max-width:100%}
</style>
<body class="loading" style="background:#fff;">

	<div class="wrapper">	
	   	<div class="whole" id="list" style="text-align:center">

	   	</div>       
	</div>
		
</body>

<script>
var basecontext = '<%=BusiConstant.context%>';

function getList(){
	getTotal();
	
	for(var i=60;i<=100;i = i+10){
		getQr(i);
	}
}

function getTotal(){
	var url = getbaseurl("/user/userlist.do");
	var data = {};
	postsync(url, data, function(data){	
		var total = data.resultData.total;
		var html = '<div>总数:' +total+'</div>';
		$("#list").append(html);
	}, null, null);
}

function getQr(yhs){
	var url = getbaseurl("/user/yhs.do");
	var data = {yhs:yhs};
	postsync(url, data, function(data){	
		var row = data.resultData.row;
		showtable(yhs,row);
	}, null, null);
}

function showtable(yhs,row){
	var html = '<div>>='+yhs +':' +row+'</div>';
	$("#list").append(html);
}
getList();



</script>

</html>
